<template>
  <div class="home">
    <div class="home-1">
      <div class="carousel">
        <el-carousel trigger="click" height="300px">
          <el-carousel-item v-for="item in 4" :key="item" style="background-color: antiquewhite;">
            <h3 class="small">{{ item }}</h3>
          </el-carousel-item>
        </el-carousel>
      </div>
      <div class="notice">
        <div class="title">
          <span>公告</span>
        </div>
        <div>
          <ul>
            <li v-for="item, index in 8" class="notice-item">啊实打实几点看哈萨克的</li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'home'
}
</script>

<style scoped>
.home-1 {
  display: flex;
  justify-content: space-between;
}

.carousel {
  width: 60%;
  margin-bottom: 20px;
}

.notice {
  width: 35%;
}

.title {
  border-left: 4px solid #409eff;
  font-size: 18px;
  padding-left: 10px;
  margin-bottom: 10px;
}

.notice-item{
  margin: 10px 0;
}
</style>